﻿using Microsoft.AspNetCore.SignalR;

namespace Rj.PersonnelVerification.Server.Utils
{
    public static class YhCom
    {
        private static readonly object lockobj = new object();
        public static void yh_hb_call(string BusinessID,string Dataxml,ref string Outputxml)
        {
            lock (lockobj)
            {
                Type t = Type.GetTypeFromProgID("yinhai.yh_hb_sctr");
                dynamic yhyb = Activator.CreateInstance(t);
                yhyb.yh_hb_call(BusinessID, Dataxml, ref Outputxml);
            }
        }
    }
}
